<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>edit</title>
    </head>
    <body>
        <form action="/add" method="post">
            <p>
            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
            <label for="">标题</label>
            <input type="text" name="tittle" value="{{$data->tittle}}">
        </p>
        <p>
            <label for="">内容</label>
            <textarea name="content" rows="8" cols="40">{{$data->content}}</textarea>
        </p>
            <input type="submit" value="提交">
        </form>
    </body>
</html>
